﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ZLDC.Estate.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>XX地产--楼盘营销系统</title>

    <script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script>

    <script type="text/javascript" src="js/jquery.autocomplete.js"></script>

    <link href="css/best.css" rel="stylesheet" type="text/css" />
    <link href="css/PLG.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
    
       

        function Check() {
            var username = document.getElementById("tbUserName");
            var pwd = document.getElementById("Password1");

            if (username.value == "") {
                alert('请输入用户名！');
                return false;
            }
            if (pwd.value == "") {
                alert('请输入密码！');

                return false;
            }
        }

        function cancel() {
            document.getElementById("tbUserName").value = "";
            document.getElementById("Password1").value = "";

            return false;
        }
        
    </script>

</head>
<body style="background: #02665e">
    <form id="Form1" runat="server">    
    <div class="login_body">



   <table width="1001" border="0" align="center" cellpadding="0" cellspacing="0" id="Table1">
  <tr>
		<td colspan="4">
			<img id="Img1" src="images/login/login_01.gif" width="1000" height="75" /></td>
		<td>
			<img src="images/login/blank.gif" width="1" height="75" /></td>
	</tr>
	<tr>
		<td colspan="4">
			<img id="Img2" src="images/login/login_02.gif" width="1000" height="79" /></td>
		<td>
			<img src="images/login/blank.gif" width="1" height="79" /></td>
	</tr>
	<tr>
		<td colspan="4">
			<img id="Img3" src="images/login/login_03.gif" width="1000" height="61" /></td>
		<td>
			<img src="images/login/blank.gif" width="1" height="61" /></td>
	</tr>
	<tr>
		<td rowspan="5">
			<img id="Img4" src="images/login/login_04.gif" width="260" height="276" /></td>
		<td>
			<img id="Img5" src="images/login/login_05.gif" width="150" height="1" /></td>
		<td rowspan="2">
			<img id="Img6" src="images/login/login_06.gif" width="319" height="53" /></td>
		<td>
			<img id="Img7" src="images/login/login_07.gif" width="271" height="1" /></td>
		<td>
			<img src="images/login/blank.gif" width="1" height="1" /></td>
	</tr>
	<tr>
		<td rowspan="4">
			<img id="Img8" src="images/login/login_08.gif" width="150" height="275" /></td>
		<td rowspan="4">
			<img id="Img9" src="images/login/login_09.gif" width="271" height="275" /></td>
		<td>
			<img src="images/login/blank.gif" width="1" height="52" /></td>
	</tr>
	<tr>
		<td height="94" align="left" background="images/login/login_10.gif"><table width="78%" height="64" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="28%" height="31" align="right"><strong class="f_2a4a61">用户名：</strong></td>
            <td width="72%"><label>
                                    <input id="tbUserName" size="15" maxlength="100" runat="server" style="width: 150px" />
                                    <input id="tbUserID" runat="server" style="display: none;" />
            </label></td>
          </tr>
          <tr>
            <td height="26" align="right"><strong class="f_2a4a61">密  码：</strong></td>
            <td>
                                            <input id="Password1" name="tPWD" type="password" size="15" maxlength="8" runat="server"
                                    style="width: 150px" />

            </td>
          </tr>
        </table></td>
<td>
			<img src="images/login/blank.gif" width="1" height="94" /></td>
	</tr>
	<tr>
		<td height="58" align="left" background="images/login/login_11.gif"><table width="78%" height="36" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="36" align="center"><label>
            
            <asp:Button ID="btnOK" runat="server" Text="确认登陆" CssClass="login_btn" OnClientClick="return Check();" onclick="btnOK_Click"></asp:Button>&nbsp;&nbsp;
             <input type="button" id="Submit1" value="清空重填" class="login_btn" onclick="return cancel();" />
<%--              <input type="submit" name="button" id="button" value="确认登陆"  class="login_btn"/>&nbsp;&nbsp;
              <input type="submit" name="button2" id="Submit1" value="清空重填"  class="login_btn"/>
--%>           


 </label></td>
          </tr>

        </table>		  
	    <label></label></td>
<td>
			<img src="images/login/blank.gif" width="1" height="58" /></td>
	</tr>
	<tr>
		<td>
			<img id="Img10" src="images/login/login_12.gif" width="319" height="71" /></td>
		<td>
			<img src="images/login/blank.gif" width="1" height="71" /></td>
	</tr>
	<tr>
		<td height="53" colspan="4" align="center" background="images/login/login_13.gif" class="r_b5eee9">Copyright◎ XX地产置业顾问股份有限公司 版权所有</td>
<td>
		  <img src="images/login/blank.gif" width="1" height="53" /></td>
	</tr>
	<tr>
		<td colspan="4">
			<img id="Img11" src="images/login/login_14.gif" width="1000" height="61" /></td>
		<td>
			<img src="images/login/blank.gif" width="1" height="61" /></td>
	</tr>
	<tr>
		<td colspan="4">
			<img id="Img12" src="images/login/login_15.gif" width="1000" height="75" /></td>
		<td>
			<img src="images/login/blank.gif" width="1" height="75" /></td>
	</tr>
</table>


    </form>



</body>

<script language="javascript" type="text/javascript">
    $(document).ready(function() {
        $("#tbUserName").autocomplete("Ajax/GetUserAuto.aspx", { minChars: 2, extraParams: { uname: function() { return escape($('#tbUserName').val()); } }, scrollHeight: 350, width: 180, max: 100 });
        document.getElementById("tbUserName").focus();
    });

</script>

</html>